Your software calls the DataCodecBeginInterruptSafe function before performing a compression or decompression operation during interrupt time.
pascal ComponentResult DataCodecBeginInterruptSafe (
DataCodecComponent dc,
unsigned long maxSrcSize);
If the function returns an error, your software must not perform compression or decompression operations during interrupt time.
This function allocates any temporary buffers that are necessary to perform the operation during interrupt time. To release the resources used to make the operation safe during interrupt time, call the DataCodecEndInterruptSafe function or close the instance of the compressor or decompressor component.
When your software has finished a compression or decompression operation that must be performed during interrupt time, it can release any memory of other resources used by the DataCodecBeginInterruptSafe function to make the operation safe by calling the DataCodecEndInterruptSafe function.
pascal ComponentResult DataCodecEndInterruptSafe (
DataCodecComponent dc);
| Previous | Chapter Contents | Chapter Top |